function res = printOrder(err,p)
if(~exist('p','var'))
    p = 2;
end
num = size(err,2);
order = zeros(1,num-1);
for i = 1:num-1
    order(i) = log(err(i)/err(i+1))/log(p);
end
disp("err:");
disp(err);
disp("order:");
disp(order);
